<div class="cl"></div>
<div id="page">
    <div class="sys-phpshop" id="header">
        <div id="topnav">
            <ul class="guid" id="guid">
                <li class="selected" id="guid1"><a href="/profile/list"><span>订单管理</span></a></li>
                <li id="guid2"><a href="/profile/info"><span>个人信息</span></a></li>

            </ul>
            <script language="javascript">
                function checmenu(id,v,classname){
                    for (i = 1; i < 10; i++) {
                        var n = id+i;
                        if(document.getElementById(n)) {
                            document.getElementById(n).className="";
                        }
                    }
                    document.getElementById(id+v).className=classname;
                }
            </script>
        </div>
    </div>
    <div id="content">
        <div class="grid-c2" id="phpshop-panel">
            <div class="col-main">
                <div class="main-wrap">
                    <div id="main-content">
                        <div class="item-list" id="divUserHomeR">
                            <div class="item-list-bd" id="item-list-bd-order">
                                <table id="J_ListTable">
                                    <thead>
                                        <tr>
                                            <th class="item-list-col0"> </th>
                                            <th class="item-list-col1 item">订单号</th>
                                            <th class="item-list-col2 num">产品名称</th>
                                            <th class="item-list-col3 trouble">数量</th>
                                            <th class="item-list-col4 contact">单价</th>
                                            <th class="item-list-col5 trade-status">总价</th>
                                            <th></th>
                                        </tr>
                                    </thead>
                                    <tbody id="all_order" bgcolor="#F6F6F6">
                                        <?php foreach ($this->orders as $order): ?>
                                            <tr>
                                                <td> </td>
                                                <td class="item"><?php echo $order["ID"] ?></td>
                                                <td class="num"><?php echo $order[C_NAME] ?></td>
                                                <td class="trouble"><?php echo $order[C_NUM] ?></td>
                                                <td class="contact"><?php echo $order[C_PRICE] ?></td>
                                                <td class="trade-status"><?php echo $order[C_NUM] * $order[C_PRICE] ?></td>
                                                <td></td>
                                            </tr>
                                        <?php endforeach; ?>

                                    </tbody>

                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>